.repl-editor-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.repl-editor {
  flex: 1;
  width: 0; /* See https://stackoverflow.com/a/75423682/2111353, but does only work on "row" mode */

  border: 1px solid var(--code-block-bg-color);
}

.js-repl textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  padding: 10px;
  font-family: monospace;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
}

.js-repl button {
  padding: 10px 15px;
  font-size: 14px;
  background-color: var(--link-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.js-repl button:hover {
  background-color: var(--link-hover-color);
}

.js-repl pre.repl-output {
  background-color: var(--code-block-bg-color);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
